package com.ht.pms.core.service.job;

import com.ht.pms.core.dto.send.SendBaseDto;
import com.ht.pms.core.dto.send.SendGroupTempDto;
import com.ht.pms.core.service.SalaryEmailService;

import java.util.List;

public class EmailSendThread implements Runnable{

    private List<SendBaseDto> sendBaseDtoList;
    private SendGroupTempDto sendGroupTempDto;


    private SalaryEmailService  salaryEmailService;

    public EmailSendThread(SalaryEmailService  salaryEmailService,List<SendBaseDto> sendBaseDtoList,SendGroupTempDto sendGroupTempDto) {
        this.salaryEmailService = salaryEmailService;
        this.sendBaseDtoList = sendBaseDtoList;
        this.sendGroupTempDto = sendGroupTempDto;

    }

    @Override
    public void run() {
//        salaryEmailService.sendEmailAsync(sendBaseDto, sendGroupTempDto);
    }
}
